﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WORK.aspx.cs" Inherits="Web_KFZW" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../StyleSheet.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 600px; font-size: 14px; text-align: left;">
            <asp:Label ID="Label1" runat="server" Text="作业情况记录 :" 
                ></asp:Label>
        </div>
    <div style="margin: 5px;">
    </div>
    <div>
        <asp:GridView ID="GridView1" runat="server" Width="100%" AllowPaging="True" 
            AutoGenerateColumns="False" 
            onpageindexchanging="GridView1_PageIndexChanging" 
            onrowdatabound="GridView1_RowDataBound">
            <RowStyle HorizontalAlign="Center" />
            <Columns>
                <%--<asp:HyperLinkField DataNavigateUrlFields="urlparas" DataNavigateUrlFormatString="DocumentInfo.aspx?{0}"
                    DataTextField="PN" HeaderText="PN" />--%>
                <asp:BoundField DataField="num" HeaderText="编号" />
                <asp:BoundField DataField="wday" HeaderText="记录时间"  DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"/>
                <asp:BoundField DataField="banbie" HeaderText="班别" />
                <asp:BoundField DataField="banzu" HeaderText="班组" />
                <asp:BoundField DataField="tianbao" HeaderText="填报人" />
                <asp:BoundField DataField="ku" HeaderText="库区" />
                <asp:BoundField DataField="dun" HeaderText="吨位" />
                <asp:BoundField DataField="neirong" HeaderText="作业内容" />
                <asp:BoundField DataField="pos" HeaderText="货位"/>
                <asp:BoundField DataField="pdtime" HeaderText="配到时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"/>
                <asp:BoundField DataField="wcs" HeaderText="完成车数" />
                <asp:BoundField DataField="zwtime" HeaderText="装(卸)完时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"/>
                <asp:BoundField DataField="zcys" HeaderText="装车用时" />
                <asp:BoundField DataField="fwtime" HeaderText="封完时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" />
                <asp:BoundField DataField="ys" HeaderText="延时" />
                <asp:BoundField DataField="gctime" HeaderText="挂出时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" />
                <asp:BoundField DataField="sta" HeaderText="状态" />
                <asp:TemplateField HeaderText="原因">
                            <ItemTemplate>
                            <%# GetCut(Eval("yuanyin").ToString(), 10)%>
                            </ItemTemplate>
                            </asp:TemplateField>
                
                
            </Columns>
        </asp:GridView>
    </div>
    
    <div style="text-align: center; padding-top: 20px;">
        <br />
        <a href="#" onclick="javascript:window.location.reload();">刷新</a>&nbsp;|&nbsp;
        <span class="tab1"><%=ConfigurationSettings.AppSettings["Copyright"] %></span>
    </div>
    </form>
</body>
</html>
